#ifndef MSGBOXDLG_H
#define MSGBOXDLG_H
#include<QDialog>
#include <QPushButton>
#include <QLabel>
#include <QGridLayout>
#include <QMessageBox>

#include <QObject>

class MsgBoxDlg : public QDialog
{
    Q_OBJECT
public:
    MsgBoxDlg(QWidget*parent=0);

private slots:
    void showQuestionMsgDlg();
    void showInfoMsgDlg();
    void showWarnMsgDlg();
    void showCriticalMsgDlg();
    void showAboutMsgDlg();
    void showAboutQtMsgDlg();


private:
    QLabel *m_tipLabel;
    QPushButton* m_questionBtn;
    QPushButton* m_informationBtn;
    QPushButton* m_warningBtn;
    QPushButton* m_criticalBtn;
    QPushButton* m_aboutBtn;
    QPushButton*m_aboutQtBtn;

    QGridLayout* m_mainLayout;



};

#endif // MSGBOXDLG_H
